Set the Values of One or More Variables

Description

The Set the Values of One or More Variables action creates one or more variables. It also sets the value of multiple new or existing variables.

Use [Set Variable(s) to Field Values (Fields on a Form)] to set a variable to the a value on a form.

Procedure

  1. Click either Add New Variable or Set Value or Existing Variable.

  2. If you clicked Add New Variable :

    • Enter the Variable Name.

    • Select the Scope of the variable. The options are: "Shared" - the variable is available to scripts based on the underlying form or browse, "Local" - the variable is available only to the script and the underlying form or browse, "Global" - the variable is available to other scripts

    • In the Value field enter the data or expression that defines the variable's value. Optionally, click the x-y button to open the Expression Builder.

    • Click OK to continue or Cancel to discard your input.

  3. If you clicked Set Value or Existing Variable :

    • Select the variable from the Set Value of Variable dialog box.

    • In the Value field enter the data or expression that defines the variable's value. Optionally, click the x-y button to open the Expression Builder.

    • Click OK to continue or Cancel to discard your input.

  4. Click Next >.

  5. Optionally modify the comment that describes the action.

  6. Click Finish.

See Also